package com.community.contents.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 *
 * @author hjs hjs@qq.com
 * @since 1.0.0 2023-02-22
 */
@Data
@ApiModel(value = "用户")
public class UserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "用户名")
	private String username;

	@ApiModelProperty(value = "昵称")
	private String avatar;

	@ApiModelProperty(value = "0未知，1男，2女")
	private Integer gender;

	@ApiModelProperty(value = "省份")
	private String province;

	@ApiModelProperty(value = "市区")
	private String city;

	@ApiModelProperty(value = "小程序openid")
	private String openid;

	@ApiModelProperty(value = "个人介绍")
	private String intro;

	@ApiModelProperty(value = "积分")
	private Integer integral;

	@ApiModelProperty(value = "经验，跟用户等级挂钩")
	private Integer exp;

	@ApiModelProperty(value = "最后登录IP")
	private String lastLoginIp;

	@ApiModelProperty(value = "用户标签")
	private String tagStr;

	@ApiModelProperty(value = "生日")
	private Date birthday;

	@ApiModelProperty(value = "帖子数量")
	private Integer postNum;

	@ApiModelProperty(value = "粉丝数量")
	private Integer fansNum;

	@ApiModelProperty(value = "关注数量")
	private Integer followNum;

	@ApiModelProperty(value = "0为普通用户，1官方账号  2马甲虚拟用户")
	private Integer type;

	@ApiModelProperty(value = "状态")
	private Integer status;

	@ApiModelProperty(value = "vip过期时间")
	private Integer vipExpireTime;

	@ApiModelProperty(value = "")
	private Date updateTime;

	@ApiModelProperty(value = "")
	private Date createTime;

	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号")
	private String mobile;


}